package cn.seocoo.platform.base.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.seocoo.platform.common.core.domain.BaseEntity;

/**
 * 品牌表 tb_base_brand
 * 
 * @author wujian
 * @date 2019-12-25
 */
public class BaseBrand extends BaseEntity
{
	private static final long serialVersionUID = 1L;


	public static final String  BRAND_NAME = "不限";

	/** 主键id */
	private Integer id;
	/** 品牌简称 */
	private String brandAcronym;
	/** 品牌名称 */
	private String brandName;
	/** 父级id */
	private Integer parentId;
	/** 是否热门(0:热门;1:热门) */
	private String hotType;
	/** 级别(1:父级;2子级) */
	private String level;
	/** 删除状态：0正常，1删除 */
	private String delFlag;

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getId()
	{
		return id;
	}
	public void setBrandAcronym(String brandAcronym)
	{
		this.brandAcronym = brandAcronym;
	}

	public String getBrandAcronym()
	{
		return brandAcronym;
	}
	public void setBrandName(String brandName)
	{
		this.brandName = brandName;
	}

	public String getBrandName()
	{
		return brandName;
	}
	public void setParentId(Integer parentId)
	{
		this.parentId = parentId;
	}

	public Integer getParentId()
	{
		return parentId;
	}
	public void setHotType(String hotType)
	{
		this.hotType = hotType;
	}

	public String getHotType()
	{
		return hotType;
	}
	public void setLevel(String level)
	{
		this.level = level;
	}

	public String getLevel()
	{
		return level;
	}
	public void setDelFlag(String delFlag)
	{
		this.delFlag = delFlag;
	}

	public String getDelFlag()
	{
		return delFlag;
	}

	public String toString() {
		return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
				.append("id", getId())
				.append("brandAcronym", getBrandAcronym())
				.append("brandName", getBrandName())
				.append("parentId", getParentId())
				.append("hotType", getHotType())
				.append("level", getLevel())
				.append("delFlag", getDelFlag())
				.append("createBy", getCreateBy())
				.append("createTime", getCreateTime())
				.append("updateBy", getUpdateBy())
				.append("updateTime", getUpdateTime())
				.append("remark", getRemark())
				.toString();
	}
}
